﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Pages_Common_CallInsert" Codebehind="CallInsert.aspx.cs" MasterPageFile="~/Pages/Master/MainAdmin.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <fieldset id="pageLoad">
        <div id="fillInData">
           <h1>Abertura de Chamado</h1>
           <asp:ValidationSummary ID="vsCall" runat="server" 
                CssClass="validation message" />
           <div class="fillInDataField">
                <div class="label">
                    <label for="ddlCallCategory">Categoria</label>
                </div>
                <asp:DropDownList ID="ddlCallCategory" runat="server" 
                    CssClass="component medium" AutoPostBack="True" 
                    onselectedindexchanged="ddlCallCategory_SelectedIndexChanged"></asp:DropDownList>
           </div>
           <div class="fillInDataField">
                <div class="label">
                    <label for="ddlCallSubCategory">Subcategoria</label>
                </div>
                <asp:DropDownList ID="ddlCallSubCategory" runat="server" 
                    CssClass="component medium"></asp:DropDownList>
           </div>
           <div class="fillInDataField">
                <div class="label">
                    <label for="ddlUnit">Unidade</label>
                </div>
                <asp:DropDownList ID="ddlUnit" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlUnit_SelectedIndexChanged" 
                    CssClass="component small" Height="16px"></asp:DropDownList>
           </div>
           <div class="fillInDataField">
                <div class="label">
                    <label for="ddlSector">Setor</label>
                </div>
                <asp:DropDownList ID="ddlSector" runat="server" CssClass="component small"></asp:DropDownList>
            </div>
            <div class="fillInDataField">
                <div class="label">
                    <label for="txbProblemDescription">Descreva o problema</label>
                </div>
                <asp:TextBox ID="txbProblemDescription" runat="server" 
                    TextMode="MultiLine" CssClass="component huge"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvProblemDescription" runat="server" 
                    ControlToValidate="txbProblemDescription" 
                    ErrorMessage="Preencha o problema." CssClass="validation">*</asp:RequiredFieldValidator>
            </div>
            <div class="fillInDataField">
                <div class="label">
                    <label for="fuAnnex">Anexo</label>
                </div>
                <asp:FileUpload ID="fuAnnex" runat="server" CssClass="component medium" />
            </div>
            <asp:Button ID="btnCallInsert" runat="server" onclick="btnCallInsert_Click" 
                Text="Abrir" CssClass="button open" />
            

        </div>
        </fieldset>
   </asp:Content>

        

